<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>PyScript FFI</title>
        <link rel="stylesheet" href="../../dist/core.css">
        <script type="module" src="../../dist/core.js"></script>
    </head>
    <body>
      <script type="mpy">
          from pyscript import document
          from pyscript.ffi import to_js
          document.documentElement.classList.add(
            to_js({"ok": "mpy"}).ok
          )
      </script>
      <script type="py">
          from pyscript import document
          from pyscript.ffi import to_js
          document.documentElement.classList.add(
            to_js({"ok": "py"}).ok
          )
      </script>
    </body>
</html>
